#include <QCoreApplication>
#include <iostream>
#include <cmath>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    double x=0;
    int n=0;
    cout<<"Vvedite x (<1): ";
    cin>>x;
    cout<<"Vvedite n (>0): ";
    cin>>n;
    for (int i=0;i<n;i++)
    {
        x=x+((2*n-1)*pow(x,(2*n+1))/(2*n)*(2*n+1));
    }
    cout<<"Result: "<<x;
    return a.exec();
}
